﻿using Huirui.Cavan.Application.Seedwork;
using Huirui.Cavan.Domain.MainBoundedContext.SearchModule;
using Huirui.Cavan.Domain.MainBoundedContext.SystemModule;
using Huirui.Cavan.Domain.Seedwork;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Huirui.Cavan.Application.MainBoundedContext.SystemModule
{
    public interface ISysActionAppService : IBaseAppService<SysAction, int, SysActionSearch>
    {
        BoolGenericResult<UserAccount> AddActionToUserAccount(int userAccountId, bool onlyQuerySelfData, bool cannotQueryPurchaseCostAndAmount,
            bool cannotQuerySalesCostAndAmount, IList<SysAction> actions);
    }
}
